'''
The settings are about bbs site "Bai Yun Huang He"
The bbs site is the official bbs of HUST.
The settings are gotten by mental analysis.
'''

DOMAIN = "http://bbs.whnet.edu.cn"
ARTICLE_LIST_ADDR = "/cgi-bin/bbsdoc"
ARTICLE_DETAIL_ADDR = "/cgi-bin/bbscon"
USER_DETAIL_ADDR = "/cgi-bin/bbsqry" # can follow parameter <userid>

ITEMS_PER_PAGE = 20

BOARD_LIST = [
 "CAD", "CompMarket", "DistrictA", "Flash", "Graphics", "HardwareSalon", "IT",
 "Multimedia", "NetResource", "Network", "NewSoftware", "OurSoftware", "Virus", "windows",
 "Algorithm", "Android", "BBSDev", "BCB", "COM_DCOM", "Database", "Delphi",
 "DistrictB", "DotNet", "DriverProgram", "Embedded", "Encrypt", "FreeBSD", "Java",
 "Linux", "Programming", "Script", "Security", "SOCKET", "SysInternals", "UNIX",
 "VB", "VC", "VI", "WebDev", "XML", "BBSHelp", "BYHHAnniversary",
 "BYHHBANK", "BYHHhistory", "BYHHSHOP", "Commend", "Complain", "MovieBoard", "notepad",
 "Penalization", "quest", "Rules", "sysop", "test", "Transaction", "vote",
 "WWWlogin", "AC", "ACDR", "AdvancedClass", "Anniversary", "ArtClub", "AUP",
 "BA", "BingYan", "CA", "CE_ME", "CEEE", "Chemistry", "CM",
 "CPA", "CS", "District1", "E_learning", "EC", "EDU", "EI",
 "Energy", "ESE", "EST", "FLS", "GAST", "GFS", "GS",
 "HAE", "HUMANITIES", "hustfund", "HUSTPU", "HUSTStudent", "hustTV", "IPRAI",
 "IS", "Journalist", "Law", "Life", "MATHS", "MSClub", "MSE",
 "MSTI", "NAOE", "News", "OE", "PE", "PhD", "Physics",
 "Postdoc", "SCDA", "SNC", "Sociology", "SSE", "SU", "Sunshine",
 "SVO", "tjmu", "AiXin", "Career_PhD", "Cinema", "District2", "Emarket",
 "Financing", "Guard", "Hospital", "House", "HUSTDevelopment", "HUSTExpress", "Job",
 "Job_Discuss", "JWC", "Labor", "LegalAid", "logistics", "LostFound", "NetCentre",
 "PartTimeJob", "Quake", "SecondHand", "Student", "Tickets", "WeatherForecast", "Astronomy",
 "Circuit", "District3", "EnglishTest", "ExemptExam", "FEA", "HBV", "Health",
 "IEEE", "ITCertification", "KAOYAN", "Mathematics", "Military", "Nature", "Official",
 "paper", "Philosophy", "Psychology", "RoboticFan", "SingleChip", "Stocks", "Articles",
 "ASCIIart", "ClassicalMusic", "District4", "Emprise", "Instrumental", "Lectures", "NationalArt",
 "Poem", "Reading", "SanGuo", "ScienceFiction", "StoneStory", "StoryForward", "Badminton", "Basketball", "Billiards", "ChessPoke", "District5", "fitness", "Football", "Skating",
 "Speeding", "Sports", "swimming", "Tabletennis", "Tennis", "Volleyball", "Weiqi",
 "WorldSoccer", "Wushu", "90s", "Abroad", "Astrology", "District6", "Fashion",
 "Food", "Freshman", "Friends", "graduates", "Heart", "Home", "IDStory",
 "Love", "Oversea", "PieFriends", "PostCampus", "Repentance", "Single", "Wishes",
 "WuhanLife", "Yesterday", "AutoFan", "Bicycle", "BoardGame", "Cartoon", "Collection",
 "Dance", "District7", "Fishing", "Gardening", "GreatTurn", "HiFi", "Humor",
 "Karaoke", "KingKiller", "MediaShare", "MobileDigit", "Movies", "OMTV", "PetsEden",
 "Photo", "Picture", "PopMusic", "Riddle", "Rock", "Shopping", "TrainFan",
 "Travel", "TV", "TVEntZ", "Video", "AnHui", "BeiJing", "CCNU",
 "ChongQing", "District8", "FuJian", "GuangDong", "Guangxi", "HaiNan", "HeBei",
 "HeNan", "HuBei", "HuNan", "JiangSu", "JiangXi", "NorthEast", "ShaanXi",
 "ShanDong", "Shanghai", "ShanXi", "SiChuan", "Tianjin", "XJTU", "YunGui",
 "ZheJiang", "Diablo", "District9", "Esports", "Game", "GameOnline", "MusicGame",
 "SmallGame", "SportsGame", "TVGame", "warcraftRPG", "WOW",
]

ITEM_MAP_DICT = { "num": 0,
                  "user_name": 2,
                  "datetime": 3,
                  "title": 4,
                  "click": 5, }
START_NUM = 1

